public class Bar
{
	public synchronized void abarbeitenA()
	{
		int a = 23;
		int b = 42;

		int c = a + b;

	}
	
	public void abarbeitenB()
	{
		int a = 23;
		int b = 42;

		int c = a + b;

	}
}
